package com.chinawayltd.ews.sample.mapper;

import com.chinawayltd.ews.sample.model.TBranchTemplate;
import com.chinawayltd.ews.sample.model.TBranchTemplateExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface TBranchTemplateMapper {
    int countByExample(TBranchTemplateExample example);

    int deleteByExample(TBranchTemplateExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TBranchTemplate record);

    int insertSelective(TBranchTemplate record);

    List<TBranchTemplate> selectByExample(TBranchTemplateExample example);

    TBranchTemplate selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TBranchTemplate record, @Param("example") TBranchTemplateExample example);

    int updateByExample(@Param("record") TBranchTemplate record, @Param("example") TBranchTemplateExample example);

    int updateByPrimaryKeySelective(TBranchTemplate record);

    int updateByPrimaryKey(TBranchTemplate record);
}